Body shops can pull the collapsed rocker section back down. It involves grinding off the paint on the collapsed section, and spot welding copper pins along the damaged area.
They then use a slide hammer to fasten to each pin, and hammer pull the collapsed area back into shape. Obviously priming and painting follow.